<?php

use yii\db\Migration;

/**
 * Handles adding columns to table `{{%project_donation}}`.
 */
class m230714_121049_add_is_proxy_column_to_project_donation_table extends Migration
{
    /**
     * {@inheritdoc}
     */
    public function safeUp()
    {
        $this->addColumn('{{%project_donation}}', 'is_proxy', $this->boolean()->defaultValue(0));
    }

    /**
     * {@inheritdoc}
     */
    public function safeDown()
    {
        $this->dropColumn('{{%project_donation}}', 'is_proxy');
    }
}
